package com.nmsl.mapper;

import com.nmsl.domain.GyfRegistrationManagement;

/**
* @author Lenovo
* @description 针对表【registration_management(挂号管理表)】的数据库操作Mapper
* @createDate 2025-02-18 14:13:02
* @Entity com.nmsl.domain.RegistrationManagement
*/
public interface GyfRegistrationManagementMapper {


    //通过挂号管理id  删除这条记录
    int deleteByPrimaryKey(int id);

    int insert(GyfRegistrationManagement record);


    //动态的插入  挂号管理的数据
    int insertSelective(GyfRegistrationManagement record);


    //通过挂号管理id来查询这条挂号信息
    GyfRegistrationManagement selectByPrimaryKey(int id);

    int updateByPrimaryKeySelective(GyfRegistrationManagement record);

    int updateByPrimaryKey(GyfRegistrationManagement record);


    //通过patientid(患者id)来查询这条挂号信息
    GyfRegistrationManagement selectByPatientId(int patientId);

}
